/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package formula;

import geneticprogramming.problem.Individual;
import formula.node.Node;

/**
 *
 * @author CJ
 */
public class FormulaIndividual extends Individual{

    public FormulaIndividual(Node rootNode){
        this.state = rootNode;
    }

    public String toString(){
        return this.state.toString();
    }

    public FormulaIndividual clone(){
        return new FormulaIndividual((Node)(((Node)this.state).clone()));
    }

}
